package com.loves.admin.controller;

import com.loves.admin.service.AccountService;
import com.loves.admin.service.LoginService;
import com.loves.admin.util.result.ResultApi;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.validation.constraints.NotEmpty;

@RestController
@Api(tags = "登录接口")
@RequestMapping("/login")
public class LoginController {

    private Logger logger = LoggerFactory.getLogger(LoginController.class);

/*    @Resource
    public LoginService loginService;

    @GetMapping("/wx/index")
    @ApiOperation(value = "用户登录")
    public String index(){
        return loginService.test();
    }*/

}
